using System;

namespace Informant.Clients.DataProviders
{
	public interface IInformantServiceDataProvider : IContactsDataProvider, ISmsDataProvider
	{
		void LogUserOnAsync(String username, String password);

		event EventHandler<LogOnCompletedEventArgs> LogOnAsyncCompleted;
		event EventHandler<LogOffCompletedEventArgs> LogOffAsyncCompleted;
		event EventHandler<RetrieveContactsEventArgs> RetrieveContactsAsyncCompleted;
		event EventHandler<RetrieveGroupsEventArgs> RetrieveGroupsAsyncCompleted;
		event EventHandler<SendSmsProgressReportedEventArgs> SendSmsAsyncProgressReported;
		event EventHandler<SendSmsCompletedEventArgs> SendSmsAsyncCompleted;
	}
}